package com.koron.order.risk.base.bean.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.koron.order.risk.base.bean.po.LineRiskDetailBuilding;
import com.koron.order.risk.base.excel.RiskStringStringConvertor;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author jzp
 * @since 2023/1/13
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LineRiskBuildingExcel extends LineRiskDetailBuilding {
    /**
     * 标题
     */
    @ExcelProperty(index = 0)
    @ApiModelProperty("标题")
    private String title;

    /**
     * 线路名称
     */
    @ExcelProperty(index = 1)
    @ApiModelProperty("线路")
    private String equipmentName;

    @ExcelProperty(index = 2)
    @ApiModelProperty("塔段")
    private String lineRiskPartStr;

    /**
     * 跟进部门名称
     */
    @ExcelProperty(index = 3)
    @ApiModelProperty("跟进部门")
    private String followDeptName;

    /**
     * 风险子类
     */
    @ExcelProperty(index = 4)
    @ApiModelProperty("风险子类")
    private String riskType;

    /**
     * 风险关键字
     */
    @ExcelProperty(index = 5)
    @ApiModelProperty("风险关键字")
    private String riskKeyword;

    /**
     * 风险等级 risk_level
     */
    @ExcelProperty(index = 6, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("风险等级 risk_level")
    private String riskLevel;

    @ExcelProperty(index = 7)
    @ApiModelProperty("风险描述")
    private String descr;

    @ExcelProperty(index = 8)
    @ApiModelProperty("管控措施落实情况")
    private String lineRiskMeasureStr;

}
